<script type="text/x-template" id="class-name-config-form">
    <div>
        <el-form :rules="rules" ref="codeGenForm" :model="data" label-width="170px">
            <el-form-item label="实体类名称" prop="entityName">
                <el-input v-model.trim="data.classNameConfig.entityName"></el-input>
            </el-form-item>
            <el-form-item label="查询类名称" prop="model">
                <el-input v-model.trim="data.classNameConfig.modelName"></el-input>
            </el-form-item>
            <el-form-item label="mapper接口名称" prop="mapperName">
                <el-input v-model.trim="data.classNameConfig.mapperName"></el-input>
            </el-form-item>
            <el-form-item label="xml名称" prop="xmlName">
                <el-input v-model.trim="data.classNameConfig.xmlName"></el-input>
            </el-form-item>
            <el-form-item label="biz接口名称" prop="bizName">
                <el-input v-model.trim="data.classNameConfig.bizName"></el-input>
            </el-form-item>
            <el-form-item label="biz接口实现名称" prop="bizImplName">
                <el-input v-model.trim="data.classNameConfig.bizImplName"></el-input>
            </el-form-item>
            <el-form-item label="provider接口名称" prop="providerName">
                <el-input v-model.trim="data.classNameConfig.providerName"></el-input>
            </el-form-item>
            <el-form-item label="provider接口实现名称" prop="providerImplName">
                <el-input v-model.trim="data.classNameConfig.providerImplName"></el-input>
            </el-form-item>
            <el-form-item label="service接口名称" prop="serviceName">
                <el-input v-model.trim="data.classNameConfig.serviceName"></el-input>
            </el-form-item>
            <el-form-item label="service实现类名称" prop="serviceImplName">
                <el-input v-model.trim="data.classNameConfig.serviceImplName"></el-input>
            </el-form-item>
            <el-form-item label="控制器名称" prop="controllerName">
                <el-input v-model.trim="data.classNameConfig.controllerName"></el-input>
            </el-form-item>

        </el-form>
    </div>
</script>

<script>
    Vue.component('class-name-config-form', {
        template: '#class-name-config-form',
        data() {
            return {
                rules: {
                    keyvalData: [
                        {required: true, message: '请输入要转化的key:val'}
                    ]
                }
            }
        },
        props: ['data'],
        computed: {},
        methods: {},
        watch: {},
        mounted() {

        },
        created() {
        }
    })
</script>
